<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/MiniStock.Entities.Common.Events" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/MiniStock.Entities.Common.Events" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:999/?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost:999/?xsd=xsd5" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="EntityEventBase">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:EventBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="EntityEventBase" nillable="true" type="tns:EntityEventBase" />
  <xs:complexType name="EventBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="EventId" type="ser:guid" />
      <xs:element minOccurs="0" name="EventDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="SenderAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OutQueueAddress" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CorrelatedEventId" nillable="true" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="EventBase" nillable="true" type="tns:EventBase" />
  <xs:complexType name="ResultEvent">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:EntityEventBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="EntityXml" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ResultEvent" nillable="true" type="tns:ResultEvent" />
  <xs:complexType name="ProtocolEventBase">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:EventBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ProtocolEventBase" nillable="true" type="tns:ProtocolEventBase" />
  <xs:complexType name="Snapshot">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ProtocolEventBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="EntityXml" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Snapshot" nillable="true" type="tns:Snapshot" />
  <xs:complexType name="InitWorker">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ProtocolEventBase">
        <xs:sequence>
          <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Initializers" nillable="true" type="q1:ArrayOfstring" />
          <xs:element minOccurs="0" name="OutQueueName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ThreadPoolSize" nillable="true" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="InitWorker" nillable="true" type="tns:InitWorker" />
</xs:schema>